package com.baizhi.service;

import com.baizhi.domain.Result;
import com.baizhi.entity.User;

import java.util.List;

public interface UserService {

    public List<User> selectAllUser();

    public void updateUserStatus(User user);

    public User selectUserById(String userId);

    public User selectByEmail(String email);


    public Result login(String username, String password);

    public Boolean register(User user);
}
